KillIO
KillIO Terminate all current and pending device driver reads and writes short refNum ; device driver reference; as obtained via
KillIO immediately terminates all communication with the device driver indicated by the reference number. Unlike CloseDriver, it does NOT wait to complete any pending I/O.
refNum is the reference number of an open device driver. See OpenDriver .
noErr (0) No error
badUnitErr (-21) refNum doesn't match unit table
unitEmptyErr (-22) refnum specifies NIL handle in unit table